home *** CD-ROM | disk | FTP | other *** search
- *-------------------------------------------------------------------------------
- *-- PROGRAM...: PRINT.PRG
- *-- Notes.....: Simple program to PRINT the PRG files for the ATUSERS database
- *-- system ...
- *-------------------------------------------------------------------------------
- clear
- set talk off
- set stat off
- set proc to proc
- do center with 10,80,"rg+/gb","Make sure there's plenty of paper"
- do center with 11,80,"rg+/gb","in the printer, and that it's ready"
- do center with 12,80,"rg+/gb","to go. Press any key ..."
- set cursor off
- x=inkey(0)
- if x = 27
- set cursor on
- set stat on
- set talk on
- close all
- clear
- cancel
- endif
- clear
- do center with 10,80,"rg+/rg","*** Printing program files ***"
- set console off
- type menu.prg to print
- eject
- type borentr.prg to print
- eject
- type boredit.prg to print
- eject
- type borrep.prg to print
- eject
- type print.prg to print
- eject
- set console on
- if yesno(.f.,"Print PROCEDURE/CONFIG files?","This is pretty long ...","",;
- "rg+/r,n/w,rg+/r")
- set console off
- type proc.prg to print
- eject
- type config.prg to print
- eject
- type pconfig.prg to print
- eject
- type setclr.prg to print
- eject
- type cdefault.prg to print
- eject
- set console on
- endif
- if yesno(.f.,"Print PICKLIST program?","This is 8 pages ...","",;
- "rg+/r,n/w,rg+/r")
- set console off
- type picklist.prg to print
- eject
- set console on
- endif
- if yesno(.t.,"Print documentation?","(README.TXT),","",;
- "rg+/r,n/w,rg+/r")
- set console off
- type readme.txt to print
- eject
- endif
- set console on
- clear
- do center with 12,80,"rg+/rg","Done printing ... press any key ..."
- x = inkey(0)
- set cursor on
- clear
-
- set stat on
- set talk on
- close all
-
- *-------------------------------------------------------------------------------
- *-- End of Program: PRINT.PRG
- *-------------------------------------------------------------------------------